package Thread.KFC;

/**
 * @author: lqh
 * @description: 消费者
 * @program: Demo
 * @create: 2018-04-13 14:41
 **/
public class Cusum extends Thread{
    Kfc kfc;

    public Cusum(Kfc kfc) {
        this.kfc = kfc;
    }

    @Override
    public void run() {
        while (true){
            kfc.conSumFood();
        }
    }
}
